<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
		*{
			margin: 0px;
			padding: 0px;
		}
		.box{
			background-image: url(images/bg.jpg);
			background-size: 100% 100%;
		}
		
		/*赛程*/
		.gameModify{
			padding: 15px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
		}
		.gameModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.gameModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.gameModify>p span:hover{
			color: red;
		}
		.gameModify table{
			margin: 5px auto;
		}
		.gameModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.gameModify form p{
			text-align: right;
		}
		.gameModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.gameModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
				
	</style>
</head>
<body>
	<div class="box">
		
		<!-- 赛程 修改-->
		<div class="gameModify">
			<p>
				修改赛事
				<span onclick="tobghome()">×</span>
			</p>
			<form action="gameServlet.do?opt=3&gameId=${param.scheduleId }" method="post">
				<table>
					<tr>
						<td>赛季:</td>
						<td>
							<select name="season">
								<c:if test="${param.seasonId == 1}">
									<option value="0">-请选择-</option>
									<option value="1"  selected="selected">季前赛</option>
									<option value="2">季后赛</option>
									<option value="3">常规赛</option>
								</c:if>
								<c:if test="${param.seasonId == 2}">
									<option value="0">-请选择-</option>
									<option value="1">季前赛</option>
									<option value="2" selected="selected">季后赛</option>
									<option value="3">常规赛</option>
								</c:if>
								<c:if test="${param.seasonId == 3}">
									<option value="0">-请选择-</option>
									<option value="1">季前赛</option>
									<option value="2">季后赛</option>
									<option value="3" selected="selected">常规赛</option>
								</c:if>
							</select>
						</td>
					</tr>
					<tr>
						<td>球队A:</td>
						<td><input type="text" name="ateamName" value="${param.ateamName }"></td>
					</tr>
					<tr>
						<td>球队B:</td>
						<td><input type="text" name="bteamName" value="${param.bteamName }"></td>
					</tr>
					<tr>
						<td>第一场A:</td>
						<td><input type="number" name="afirstNum" value="${param.afirstNum }"></td>
					</tr>
					<tr>
						<td>第一场B:</td>
						<td><input type="number" name="bfirstNum" value="${param.bfirstNum }"></td>
					</tr>
					<tr>
						<td>第二场A:</td>
						<td><input type="number" name="asecondNum" value="${param.asecondNum }"></td>
					</tr>
					<tr>
						<td>第二场B:</td>
						<td><input type="number" name="bsecondNum" value="${param.bsecondNum }"></td>
					</tr>
					<tr>
						<td>第三场A:</td>
						<td><input type="number" name="athirdNum" value="${param.athirdNum }"></td>
					</tr>
					<tr>
						<td>第三场B:</td>
						<td><input type="number" name="bthirdNum" value="${param.bthirdNum }"></td>
					</tr>
					<tr>
						<td>第四场A:</td>
						<td><input type="number" name="afourthNum" value="${param.afourthNum }"></td>
					</tr>
					<tr>
						<td>第四场B:</td>
						<td><input type="number" name="bfourthNum" value="${param.bfourthNum }"></td>
					</tr>
					<tr>
						<td>快攻A:</td>
						<td><input type="number" name="afastbreakScore" value="${param.afastbreakScore }"></td>
					</tr>
					<tr>
						<td>快攻B:</td>
						<td><input type="number" name="bfastbreakScore" value="${param.bfastbreakScore }"></td>
					</tr>
					<tr>
						<td>禁区A:</td>
						<td><input type="number" name="arestrictedScore" value="${param.arestrictedScore }"></td>
					</tr>
					<tr>
						<td>禁区B:</td>
						<td><input type="number" name="brestrictedScore" value="${param.brestrictedScore }"></td>
					</tr>
					<tr>
						<td>失误A:</td>
						<td><input type="number" name="afaultScore" value="${param.afaultScore }"></td>
					</tr>
					<tr>
						<td>失误B:</td>
						<td><input type="number" name="bfaultScore" value="${param.bfaultScore }"></td>
					</tr>
					<tr>
						<td>场地:</td>
						<td><input type="text" name="field" value="${param.field }"></td>
					</tr>
					<tr>
						<td>时间:</td>
						<td><input type="datetime-local" name="scheduleTime" value="${param.scheduleTime }"></td>
					</tr>
	
				</table>
				<p class="submitP">
					<input type="button" name="" value="取消" onclick="tobghome()">
					<input type="submit" name="" value="确定">
				</p>
			</form>	
		</div>
		
	</div>
</body>
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/bghome.js"></script>
<script type="text/javascript">
	function $$(id){
		return document.getElementById(id);
	}
	 function tobghome(){
			window.location.href="/nba/SearchServlet.do"
		}
</script>
</html>